package com.gpframework.module.wages.mapper;

import com.gpframework.module.wages.domain.GzFleetMonthlyRecord;
import com.gpframework.module.wages.domain.vo.GzFleetMonthlyRecordVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gpframework.module.wages.domain.vo.GzMonthlyReceiptOfGoodsVo;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzFleetMonthlyRecord
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 车队月度Mapper接口
 */
public interface GzFleetMonthlyRecordMapper extends BaseMapper<GzFleetMonthlyRecord> {

    /**
    * 列表
    * @param lqw
    * @return
    */
    List<GzFleetMonthlyRecordVo> listVo(@Param("ew") QueryWrapper<GzFleetMonthlyRecord> lqw);

    /**
    * 对象
    * @param id
    * @return
    */
    GzFleetMonthlyRecordVo getVo(@Param("id")Long id);

    List<GzFleetMonthlyRecordVo> list(@Param("month") String month);

    void deleteByMonth(@Param("month") Date month);
}
